package com.baohua.model;

import java.util.Set;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 菜单,因为他
 * @author czp
 *
 */

@JsonIgnoreProperties(value={"roles"})
public class Menu {

	/**
	 * 菜单标识Id
	 */
	private int menuId;
    /**
     * 菜单节点编号
     */
	private String menuNO;
	/**
	 * 菜单父节点编号
	 */
	private String parentNO;
	/**
	 * 菜单节点名称
	 */
	private String menuName;
	/**
	 * 菜单关联角色
	 */
	private Set<Role> roles;
	/**
	 * 菜单导航: eg：xxx > dd > dfd
	 */
	private String menuFullPath;
	/**
	 * 菜单访问路径
	 */
	private String menuAction;
	/**
	 * 是否叶子节点
	 */
	private boolean leaf;
	
	
	private boolean ischecked = false;
	
	public boolean isIschecked() {
		return ischecked;
	}
	public void setIschecked(boolean ischecked) {
		this.ischecked = ischecked;
	}
	public int getMenuId() {
		return menuId;
	}
	public void setMenuId(int menuId) {
		this.menuId = menuId;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getMenuFullPath() {
		return menuFullPath;
	}
	public void setMenuFullPath(String menuFullPath) {
		this.menuFullPath = menuFullPath;
	}
	public String getMenuAction() {
		return menuAction;
	}
	public void setMenuAction(String menuAction) {
		this.menuAction = menuAction;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
	public String getMenuNO() {
		return menuNO;
	}
	public void setMenuNO(String menuNO) {
		this.menuNO = menuNO;
	}
	public String getParentNO() {
		return parentNO;
	}
	public void setParentNO(String parentNO) {
		this.parentNO = parentNO;
	}

}
